package org.csu.lestore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("tbl_order_item")
public class OrderItem {
    @TableId(value="order_item_id",type = IdType.AUTO)
    private int orderItemId;
    private int orderId;
    private int itemId;
    private int itemCount;
    private BigDecimal unitPrice;
    private BigDecimal price;
}
